package web.suzy.oj.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * YangSuzy 软件工作室
 * 类名: UserInfoVO
 * 描述: 用户信息
 * 功能: VO (View Object)用于表示一个与前端进行交互的视图对象
 *
 * @author YangSuzy
 * Date: 2022/11/9 13:49
 */
@Data
public class UserInfoVO {
    @ApiModelProperty(value = "用户id")
    private String uid;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "学号")
    private String number;

    @ApiModelProperty(value = "性别")
    private String gender;

    @ApiModelProperty(value = "年级")
    private String grade;

    @ApiModelProperty(value = "专业")
    private String course;

    @ApiModelProperty(value = "班级")
    private String classes;

    @ApiModelProperty(value = "个性签名")
    private String signature;

    @ApiModelProperty(value = "真实姓名")
    private String realname;

    @ApiModelProperty(value = "角色列表")
    private List<String> roleList;
}
